package com.hanson.mapper;

import com.hanson.entity.GoodsAttrValueBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsAttrValueBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByGoodsId(@Param("goodsId") Integer goodsId);

    int insert(GoodsAttrValueBean record);

    GoodsAttrValueBean selectByPrimaryKey(Integer id);

    List<GoodsAttrValueBean> selectByByGoodsId(@Param("goodsId") Integer goodsId);

    List<GoodsAttrValueBean> selectByByGoodsIdAndSuk(@Param("goodsId") Integer goodsId, @Param("suk") String suk);

    List<GoodsAttrValueBean> selectAll();

    int updateByPrimaryKey(GoodsAttrValueBean record);
}